package com.gcxy.dto.semester;

import com.gcxy.core.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;


/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author: Huang先森
 * Date: 2024/7/25 11:49
 * FileName: SemesterPageDTO
 * Description:
 */
@Data
public class SemesterPageDTO extends PageDTO {

    @Length(max = 20, message = "学年名称不能超过20个字符")
    @ApiModelProperty("学年名称")
    private String name;
}
